<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body>
<style>
    .layui-table-cell {
        display: block;
    }

    .layui-table-tips-c:before {
        position: relative;
        right: 0px;
        top: -4px;
    }
</style>

<div class="layui-fluid mt2">
    <div id="exampleToolbar" style="height: 55px;  align-items: center;display: flex;width: 100%;">
        <div class="columns pull-left" style="display: flex">
            <button class="layui-btn" id="add" shiro:hasPermission="jzweb:jazSysContract:add" type="button">新增合同
            </button>
        </div>
        <div class="demoTable layui-form"
             style="display: flex; flex-direction: row;justify-content: flex-start;align-items: center;padding-left: 10px;">
            <div class="layui-inline" style="margin-right: 10px">
                类型：
                <div class="layui-inline" style="width: 190px">
                    <div name="username3" id="username3"></div>
                </div>
            </div>
            <div class="layui-inline" style="margin-right: 10px">
                合同状态：
                <div class="layui-inline" style="width: 100px">
                    <select name="username4" id="username4" lay-filter="aihao">
                        <option value="">全部</option>
                        <option value="2">启用</option>
                        <option value="4">终止</option>
                    </select>
                </div>
            </div>
            <div class="layui-inline" style="margin-right: 10px">
                发起方：
                <div class="layui-inline">
                    <input class="layui-input" placeholder="请输入发起方名字" name="username1" id="username1"
                           autocomplete="off">
                </div>
            </div>
            <div class="layui-inline" style="margin-right: 10px">
                签约方：
                <div class="layui-inline">
                    <input class="layui-input" placeholder="请输入签约方名字" name="username2" id="username2"
                           autocomplete="off">
                </div>
            </div>
            <button class="layui-btn" data-type="reload">搜索</button>
        </div>
    </div>
    <table class="layui-hide" id="exampleTable" lay-filter="exampleTable"></table>

</div>

<!--shiro控制bootstraptable行内按钮看见性 -->
<div>
    <script type="text/javascript">
        var upAndDownPrices = false;
        var s_remove_h = 'hidden';
        var s_info_h = 'hidden';
        var look_edit = 'hidden';
    </script>
    <script shiro:hasPermission="jzweb:jazSysContract:upAndDownPrices" type="text/javascript">
        var upAndDownPrices = true;
    </script>
    <script shiro:hasPermission="jzweb:jazSysContract:remove" type="text/javascript">
        var s_remove_h = '';
    </script>
    <script shiro:hasPermission="jzweb:jazSysContract:info" type="text/javascript">
        var s_info_h = '';
    </script>
    <script shiro:hasPermission="jzweb:jazSysContract:edit" type="text/javascript">
        var look_edit = '';
    </script>
</div>
<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/xmSelect.js"></script>
<script type="text/javascript" src="/js/webJs/jzweb/jazSysContract/jazSysContract.js"></script>
</body>
</html>